import { getstatistics,getstatisbusiness} from '@/api/transaction'
export default {
    namespaced: true, // 封闭
    state: {},
    mutations: {},
    getters: {},
    actions: {
      async getstatistics(context, payload) {
        try {
          const { data } = await getstatistics(payload)
          //console.log(data)
          return data
        } catch (err) {
          console.log(err)
  
        }
      }
      ,
      async getstatisbusiness(context, payload) {
        try {
          const { data } = await getstatisbusiness(payload)
          //console.log(data)
          return data
        } catch (err) {
          console.log(err)
  
        }
      },
}
}